import request from '@/utils/request'

export function index() {
  return request({
    url: '/admin/dashboard/index',
    method: 'get'
  })
}

export function upSysSetting(id, value) {
  return request({
    url: '/admin/dashboard/updateSysConfig',
    method: 'post',
    data: {
      id: id,
      value: value
    }
  })
}
